﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace HCQ2_Model.VRDD.InputDto._211217
{
    /// <summary>
    ///  修改用户性别
    /// </summary>
    public class InputModifySex
    {
        /// <summary>
        ///  用户编码
        /// </summary>
        [Required(ErrorMessage = "用户编码必传！")]
        public string userID { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        [Required(ErrorMessage = "性别必传！")]
        [RegularExpression("^[男|女]$", ErrorMessage = "请正确输入性别：男/女")]
        public string userSex { get; set; }
    }
}